package com.edol.painting;

import android.content.Context;

/*  =======================================================================================
 *  Copyright (C) 2017 dlboard.com. All rights reserved.
 *
 *  This computer program source code file is protected by copyright law and international
 *  treaties. Unauthorized distribution of source code files, programs, or portion of the
 *  package, may result in severe civil and criminal penalties, and will be prosecuted to
 *  the maximum extent under the law.
 *
 *  ---------------------------------------------------------------------------------------
 * Author:Administrator
 * Date:2017/7/7
 * Desc:
 *
 * ======================================================================================== */
public class PainterConfig {
    //是否为debug版本
    public static final boolean DEBUG = BuildConfig.DEBUG;

    public static String PACKAGE_NAME = BuildConfig.APPLICATION_ID;

    //是否是演示版本
    public static final boolean SHOW_DEMO = true;
    //日志TAG
    public static final String LOG_TAG = "Painter-Log";
    //客户端版本号位数
    public static final int VERSION_BITS = 4;


    //生产环境Painter账号ID
    public static final String Painter_ACCOUNT_ID = "";
    //测试环境Painter账号ID
    public static final String TEST_Painter_ACCOUNT_ID = "";

    ////////////////////////////////////////////////////////////////////////////////////////////////
    //channel
    //渠道好号，被Application初始化
    public static String CHANNEL;

    //预发布环境渠道,此名称要对应channel文件
    public static final String CHANNEL_ENV_PRE = "env-pre";
    //开发测试环境渠道,此名称要对应channel文件
    public static final String CHANNEL_ENV_DEVTEST = "env-dev&test";

    ////////////////////////////////////////////////////////////////////////////////////////////////
    //API
    //HTTP缓存目录
    public static final String HTTP_CACHE_DIR = "hcache";
    //HTTP缓存目录最大SIZE
    public static final int HTTP_CACHE_SIZE = 10 * 1024 * 1024;//10MiB


    ////////////////////////////////////////////////////////////////////////////////////////////////
    //DB name
    public static final String DB_NAME = "pdb";
    //DB current version
    public static final int DB_VERSION = 1;


    ////////////////////////////////////////////////////////////////////////////////////////////////
    //第三方SDK相关
    //wechat
    public static final String WX_APP_ID = "";
    public static final String WX_APP_KEY = "";
    //QQ
    public static final String QQ_APP_ID = "";
    public static final String QQ_APP_KEY = "";

    //bugly
    //bugly------------生产环境使用----------
    public static final String BUGLY_APP_ID = "d58e2045ca";
    //bugly------------开发和预发布环境使用----------
    public static final String BUGLY_APP_ID_DEV = "";

    //ping++
    public static final String PING_WALLET = "com.edol.painting.wallet";

    //umeng
    public static final String UMENG_APPKEY = "5962021475ca3567cb001257";

    //万普
    public static final String AD_WAPS_APP_ID = "6b12bbdd2600f33e25673cf81d3d70d4";

    //二维码下载地址
    public static final String PGYER_QRCODE_URL = "https://qr.api.cli.im/qr?data=http%253A%252F%252Ftuya.itdao.net%252F&level=H&transparent=false&bgcolor=%23ffffff&forecolor=%23000000&blockpixel=12&marginblock=1&logourl=&size=280&kid=cliim&key=7ffdf2f708e26fe0280ac746d297ef18";
    //APP下载地址
    public static final String PGYER_DOWNLOAD_URL = "http://tuya.itdao.net/";

    //SDK初始化必须用到此密钥
    public static final String BMOB_APP_ID = "f51e1761002500a67f766edb57d273b9";
    //REST API请求中HTTP头部信息必须附带密钥之一
    public static final String BMOB_REST_API_KEY = "4196b6b310fbab68ffb5e1d059abc42e";
    //是SDK安全密钥，不可泄漏，在云端逻辑测试云端代码时需要用到
    public static final String BMOB_SCCRET_KEY = "ccf9314d328ddbeb";
    //超级权限Key。应用开发或调试的时候可以使用该密钥进行各种权限的操作，此密钥不可泄漏
    public static final String BMOB_MASTER_KEY = "8b686c753cb476af28daf7af7364f6bd";

    public static void init(Context context) {
        PACKAGE_NAME = context.getPackageName();
    }

    public static String QQ_GROUP_ID = "240402145";
    public static String QQ_ID = "530227088";
    public static String WECHAT_ID = "yijiebuyi0927";
}

